<template>
  <div id="app">
    <router-view></router-view>
    <!-- <login></login> -->
    <!-- <div>
    <button @click="navigateToLogin">前往登录页面</button>
  </div> -->
  </div>
</template>
<script>
export default {
  methods: {
    navigateToLogin() {
      this.$router.push({ name: '登录' });
    }
  }
}
</script>

